package aug07;

public class OperatorEx5 {
	public static void main(String[] args){
		int a = 2;
		int b =10;
		int c ;
		c = b >> a;
		
		System.out.println(Integer.toBinaryString(a));
		System.out.println(Integer.toBinaryString(b));
		System.out.println(Integer.toBinaryString(c));
		System.out.println("b = "+b);
		System.out.println("~b = "+~b);
		System.out.println("~b+1 = "+(~b+1));
	}
	

}
